class XD_UnloadDialog {
	idd = -1;
	movingEnable = 1;
	onLoad="uiNamespace setVariable ['D_UNLOAD_DIALOG', _this select 0];d_unload_dialog_open = true;d_do_ma_update_n = true;call d_fnc_fillunload";
	onUnLoad="uiNamespace setVariable ['D_UNLOAD_DIALOG', nil];d_unload_dialog_open = false;d_do_ma_update_n = false";
	objects[] = {};
	class controlsBackground {
		class XD_BackGroundCaption: XC_RscText {
			x = 0; y = 0;
			w = 1; h = 1 / 25;
			colorBackground[] = __GUI_BCG_RGB;
		};
		class XD_MainCaption: XC_RscText {
			x = 0.02; y = 0;
			w = 0.25; h = 0.04;
			sizeEx = 0.04;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = "$STR_DOM_MISSIONSTRING_1319";
		};
		class XD_BackGroundMain: XC_RscText {
			colorBackground[] = {0, 0, 0, 0.7};
			x = 0;
			y = (1 / 25) + 0.005;
			w = 1;
			h = 1 - (2 / 25) - 0.01;
		};
		/*class XD_BackGroundBottom: XC_RscText {
			x = 0; y = 1 - (1 / 25);
			w = 1; h = 1 / 25;
			colorBackground[] = __GUI_BCG_RGB;
		};*/
		class DomVer: XC_RscText {
			x = 0.02; y = 1 - 0.04;
			w = 0.25; h = 0.04;
			sizeEx = 0.04;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBI;
			text = __DOM_NVER_STR__;
		};
	};
	class controls {
		class XD_SelectButton: XD_ButtonBase2 {
			idc = -1;
			text = "$STR_DOM_MISSIONSTRING_1320"; 
			action = "call d_fnc_unloadsetcargo";
			x = 0.23;
			y = 0.70;
		};
		class XD_CancelButton: XD_ButtonBase {
			idc = -1;
			text = "$STR_DOM_MISSIONSTRING_1229"; 
			action = "closeDialog 0";
			x = 0.7; y = 1 - 0.04;
			default = true;
		};
		class XD_Unloadlistbox : SXRscListBox {
			idc = 101115;
			x = 0.36;
			y = 0.3;
			w = 0.275;
			h = 0.36;
			sizeEx = 0.023;
			rowHeight = 0.06;
			style = ST_LEFT;
		};
		class XD_UnloadCaption : XC_RscText {
			x = 0.4;
			y = 0.22;
			w = 0.2;
			h = 0.1;
			sizeEx = 0.027;
			colorBackground[] = {1, 1, 1, 0};
			XCTextBlack;
			text = "$STR_DOM_MISSIONSTRING_1321";
		};
	};
};
